/*
 * @Author: 啊彪
 * @Date: 2021-08-25 19:58:18
 * @LastEditors: 啊彪
 * @LastEditTime: 2021-08-25 20:06:21
 * @Description: 总共累计
 * @FilePath: \fkxzg\src\model\statistics\totalCumu.model.ts
 */
import mongoose from 'mongoose';

const Schema = mongoose.Schema;
const TotalCumuSchema: mongoose.Schema = new Schema({
    roleId: { type: Number, display: '角色ID', index: true },
    nickName: { type: String, display: '角色昵称', index: true },
    serverId: { type: Number, display: '区服ID' },
    goldCoin: { type: String, display: '累计增加金币', default: 0 },
    dedGoldCoin: { type: String, display: '累计减少金币', default: 0 },
    diamond: { type: String, display: '累计增加钻石', default: 0 },
    dedDiamond: { type: String, display: '累计减少钻石', default: 0 },
});

const TotalCumu = mongoose.model('TotalCumu', TotalCumuSchema);
export default TotalCumu;
